@import url(http://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,300italic,400italic,600italic);
/*!
 *   AdminLTE v1.0
 *   Author: AlmsaeedStudio.com
 *   License: Open source - MIT
 *           Please visit http://opensource.org/licenses/MIT for more information
!*/
/*
    Core: General style
----------------------------
*/
@import "bootstrap.min.css";
@import "bootstrap-theme.min.css";
@import "font-awesome.min.css";
@import "ionicons.min.css";
@import "select2.min.css";
@import "bootstrap-tagsinput.css";

html, body {
  overflow-x: hidden !important;
  font-family: 'Source Sans Pro', sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100%;
  //background: #f9f9f9;
  .login_ {
    background: transparent;
  }
}

a {
  color: #3c8dbc;
  &:hover, &:active, &:focus {
    outline: none;
    text-decoration: none;
    color: #72afd2;
  }
}

.bootstrap-tagsinput {
  width: 100%;
  cursor: text;
}

.content_edit {
  margin-bottom: 5px;
  padding: 4px;
}

tr.loading, tr.loading td {
  background: #FCECE4 !important;
}
tr.success, tr.success td {
  background: #E4FFE2 !important;
}
.single_controls {
  padding-bottom: 5px;
  border-bottom: 1px dotted #ccc;
  margin-bottom: 5px;
  background: #fff;
  padding: 3px;
  .capitalize {
    display: inline-block;
    background: rgba(202, 45, 45, 0.65);
    color: #FFFFFF;
    padding: 0px 5px;
    cursor: pointer;
  }
}

/* Layouts */
.img_postions {
  position: relative;
  &:hover {
    .ap {
      display: block;
    }
  }
  .ap {
    //display: none;
    position: absolute;
    z-index: 999;
    &.LT {
      top: 0;
    }
    &.MT {
      top: 0;
      left: 50%;
      margin-left: -6px;
    }
    &.RT {
      right: 0;
      top: 0;
    }
    &.LM {
      left: 0;
      top: 50%;
      margin-top: -6px;
    }
    &.MM {
      top: 50%;
      left: 50%;
      margin-left: -6px;
      margin-top: -6px;
    }
    &.RM {
      right: 0;
      top: 50%;
      margin-top: -6px;
    }
    &.LB {
      left: 0;
      bottom: 0;
    }
    &.MB {
      left: 50%;
      bottom: 0;
      margin-left: -6px;
    }
    &.RB {
      right: 0;
      bottom: 0;
    }
    input[type="radio"] {
      z-index: 99;
      display: block;
      cursor: pointer;
      margin: 0;
    }

  }
}

.wrapper {
  min-height: 100%;
  position: relative;
  &:before {
    display: table;
    content: " ";
  }
  &:after {
    display: table;
    content: " ";
    clear: both;
  }
}

.c_r input[type=checkbox] {
  margin-left: 0;
}

.keyGenerate {
  cursor: pointer;
  margin-left: 10px;
}

/* Header */
.ul_no_m {
  ul {
    margin: 0;
  }
}

body > .header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
}

/* Define 2 column template */

.right-side, .left-side {
  min-height: 100%;
  display: block;
}

/*right side - contins main content*/

.right-side {
  background-color: #f9f9f9;
  margin-left: 220px;
}

/*left side - contains sidebar*/

.left-side {
  position: absolute;
  width: 220px;
  top: 0;
}

@media screen and (min-width: 992px) {
  .left-side {
    //top: 50px;
  }
  /*Right side strech mode*/
  .right-side.strech {
    margin-left: 0;
    > .content-header {
      margin-top: 0px;
    }
  }
  /* Left side collapse */
  .left-side.collapse-left {
    left: -220px;
  }
}

/*Give content full width on xs screens*/
@media screen and (max-width: 992px) {
  .right-side {
    margin-left: 0;
  }
}

/*
    By default the layout is not fixed but if you add the class .fixed to the body element
    the sidebar and the navbar will automatically become poisitioned fixed
*/

body.fixed {
  > .header, .left-side {
    position: fixed;
  }
  .navbar {
    position: fixed;
    left: 0;
    right: 0;
  }
  > .header {
    top: 0;
    right: 0;
    left: 0;
  }
  .wrapper {
    margin-top: 50px;
  }
}

/* Content */

.content {
  padding: 20px 15px;
  background: #f9f9f9;
}

/* Utility */
/* H1 - H6 font */

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: 'Source Sans Pro', sans-serif;
}

/* Page Header */

.page-header {
  margin: 10px 0 20px 0;
  font-size: 22px;
  > small {
    color: #666;
    display: block;
    margin-top: 5px;
  }
}

/* All images should be responsive */

img {
  max-width: 100% important;
}

.sort-highlight {
  background: #f4f4f4;
  border: 1px dashed #ddd;
  margin-bottom: 10px;
}

/* 10px padding and margins */

.pad {
  padding: 10px;
}

.margin {
  margin: 10px;
}

/* Display inline */

.inline {
  display: inline;
  width: auto;
}

/* Background colors */

.bg-red, .bg-yellow, .bg-aqua, .bg-blue, .bg-light-blue, .bg-green, .bg-navy, .bg-teal, .bg-olive, .bg-lime, .bg-orange, .bg-fuchsia, .bg-purple, .bg-maroon, .bg-black {
  color: #f9f9f9 !important;
}

.bg-gray {
  background-color: #eaeaec !important;
}

.bg-black {
  background-color: #222222 !important;
}

.bg-red {
  background-color: #f56954 !important;
}

.bg-yellow {
  background-color: #f39c12 !important;
}

.bg-aqua {
  background-color: #00c0ef !important;
}

.bg-blue {
  background-color: #0073b7 !important;
}

.bg-light-blue {
  background-color: #3c8dbc !important;
}

.bg-green {
  background-color: #00a65a !important;
}

.bg-navy {
  background-color: #001f3f !important;
}

.bg-teal {
  background-color: #39cccc !important;
}

.bg-olive {
  background-color: #3d9970 !important;
}

.bg-lime {
  background-color: #01ff70 !important;
}

.bg-orange {
  background-color: #ff851b !important;
}

.bg-fuchsia {
  background-color: #f012be !important;
}

.bg-purple {
  background-color: #932ab6 !important;
}

.bg-maroon {
  background-color: #85144b !important;
}

/* Text colors */

.text-red {
  color: #f56954 !important;
}

.text-yellow {
  color: #f39c12 !important;
}

.text-aqua {
  color: #00c0ef !important;
}

.text-blue {
  color: #0073b7 !important;
}

.text-light-blue {
  color: #3c8dbc !important;
}

.text-green {
  color: #00a65a !important;
}

.text-navy {
  color: #001f3f !important;
}

.text-teal {
  color: #39cccc !important;
}

.text-olive {
  color: #3d9970 !important;
}

.text-lime {
  color: #01ff70 !important;
}

.text-orange {
  color: #ff851b !important;
}

.text-fuchsia {
  color: #f012be !important;
}

.text-purple {
  color: #932ab6 !important;
}

.text-maroon {
  color: #85144b !important;
}

/*Hide elements by display none only*/

.hide {
  display: none !important;
}

/* Remove borders */

.no-border {
  border: 0px !important;
}

/* Remove padding */

.no-padding {
  padding: 0px !important;
}

/* Remove margins */

.no-margin {
  margin: 0px !important;
}

/* Remove box shadow */

.no-shadow {
  box-shadow: none !important;
}

/* Don't display when printing */
@media print {
  .no-print, .left-side, .header, .content-header {
    display: none;
  }
  .right-side {
    margin: 0;
  }
}

/* Remove border radius */

.flat {
  -webkit-border-radius: 0 !important;
  -moz-border-radius: 0 !important;
  border-radius: 0 !important;
}

/* Change the color of the striped tables */

.table-striped > tbody > tr:nth-child(odd) > {
  td, th {
    background-color: #f3f4f5;
  }
}

/* .text-center in tables */

table.text-center {
  td, th {
    text-align: center;
  }
}

/* _fix for sparkline tooltip */

.jqstooltip {
  padding: 5px !important;
  width: auto !important;
  height: auto !important;
}

/*
    Components: navbar, logo and content header
-------------------------------------------------
*/

body > .header {
  position: relative;
  max-height: 100px;
  z-index: 1030;
  .navbar {
    height: 50px;
    margin-bottom: 0;
    margin-left: 220px;
    .sidebar-toggle {
      float: left;
      padding: 9px 5px;
      margin-top: 8px;
      margin-right: 0;
      margin-bottom: 8px;
      margin-left: 5px;
      background-color: transparent;
      background-image: none;
      border: 1px solid transparent;
      -webkit-border-radius: 0 !important;
      -moz-border-radius: 0 !important;
      border-radius: 0 !important;
      &:hover .icon-bar {
        background: #f6f6f6;
      }
      .icon-bar {
        display: block;
        width: 22px;
        height: 2px;
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        border-radius: 4px;
        + .icon-bar {
          margin-top: 4px;
        }
      }
    }
    .nav > li {
      &.user > a {
        font-weight: bold;
        > {
          .fa, .glyphicon, .ion {
            margin-right: 5px;
          }
        }
      }
      > a {
        > .label {
          -webkit-border-radius: 50%;
          -moz-border-radius: 50%;
          border-radius: 50%;
          position: absolute;
          top: 7px;
          right: 2px;
          font-size: 10px;
          font-weight: normal;
          width: 15px;
          height: 15px;
          line-height: 1.0em;
          text-align: center;
          padding: 2px;
        }
        &:hover > .label {
          top: 3px;
        }
      }
    }
  }
  .logo {
    float: left;
    font-size: 20px;
    line-height: 50px;
    text-align: center;
    padding: 0 10px;
    width: 220px;
    font-weight: 500;
    height: 50px;
    display: block;
    background: url("../img/logo.png") no-repeat 10px center #333;
    .icon {
      margin-right: 10px;
    }
  }
}

.right-side > .content-header {
  position: relative;
  padding: 15px 15px 10px 20px;
  > {
    h1 {
      margin: 0;
      font-size: 24px;
      > small {
        font-size: 15px;
        display: inline-block;
        padding-left: 4px;
        font-weight: 300;
      }
    }
    .breadcrumb {
      float: right;
      background: transparent;
      margin-top: 0px;
      margin-bottom: 0;
      font-size: 12px;
      padding: 7px 5px;
      position: absolute;
      top: 15px;
      right: 10px;
      -webkit-border-radius: 2px;
      -moz-border-radius: 2px;
      border-radius: 2px;
      > li {
        > a {
          color: #444;
          text-decoration: none;
          > {
            .fa, .glyphicon, .ion {
              margin-right: 5px;
            }
          }
        }
        + li:before {
          content: '>\00a0';
        }
      }
    }
  }
}

@media screen and (max-width: 767px) {
  .right-side > .content-header > .breadcrumb {
    position: relative;
    margin-top: 5px;
    top: 0;
    right: 0;
    float: none;
    background: #efefef;
  }
}

@media (max-width: 767px) {
  .navbar .navbar-nav > li {
    float: left;
  }
  .navbar-nav {
    margin: 0;
    float: left;
    > li > a {
      padding-top: 15px;
      padding-bottom: 15px;
      line-height: 20px;
    }
  }
  .navbar .navbar-right {
    float: right;
  }
}

@media screen and (max-width: 560px) {
  body {
    > .header {
      position: relative;
      .logo {
        width: 100%;
        float: none;
        position: relative !important;
      }
      .navbar {
        width: 100%;
        float: none;
        position: relative !important;
        margin: 0;
      }
    }
    &.fixed {
      > {
        .header {
          position: fixed;
        }
        .wrapper {
          margin-top: 100px !important;
        }
      }
      .sidebar-offcanvas {
        margin-top: 100px !important;
      }
    }
  }
}

/*
    Component: Sidebar
--------------------------
*/

.sidebar {
  margin-bottom: 5px;
  .sidebar-form input:focus {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    border-color: transparent !important;
  }
  .sidebar-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    > li {
      margin: 0;
      padding: 0;
      > a {
        padding: 12px 5px 12px 15px;
        display: block;
        > {
          .fa, .glyphicon, .ion {
            width: 20px;
          }
        }
      }
    }
    .treeview-menu {
      display: none;
      list-style: none;
      padding: 0;
      margin: 0;
      > li {
        margin: 0;
        > a {
          padding: 5px 5px 5px 15px;
          display: block;
          font-size: 14px;
          margin: 0px 0px;
          > {
            .fa, .glyphicon, .ion {
              width: 20px;
            }
          }
        }
      }
    }
  }
}

.user-panel {
  padding: 10px;
  &:before {
    display: table;
    content: " ";
  }
  &:after {
    display: table;
    content: " ";
    clear: both;
  }
  > {
    .image > img {
      width: 45px;
      height: 45px;
    }
    .info {
      font-weight: 600;
      padding: 5px 5px 5px 15px;
      font-size: 14px;
      line-height: 1;
      > {
        p {
          margin-bottom: 9px;
        }
        a {
          text-decoration: none;
          padding-right: 5px;
          margin-top: 3px;
          font-size: 11px;
          font-weight: normal;
          > {
            .fa, .ion, .glyphicon {
              margin-right: 3px;
            }
          }
        }
      }
    }
  }
}

/*
 * Off Canvas
 * --------------------------------------------------
 *  Gives us the push menu effect
 */
@media screen and (max-width: 992px) {
  .relative {
    position: relative;
  }
  .row-offcanvas-right .sidebar-offcanvas {
    right: -220px;
  }
  .row-offcanvas-left .sidebar-offcanvas {
    left: -220px;
  }
  .row-offcanvas-right.active {
    right: 220px;
  }
  .row-offcanvas-left.active {
    left: 220px;
  }
  .sidebar-offcanvas {
    left: 0;
  }
  body.fixed {
    .sidebar-offcanvas {
      margin-top: 50px;
      left: -220px;
    }
    .row-offcanvas-left.active {
      .navbar {
        left: 220px !important;
        right: 0;
      }
      .sidebar-offcanvas {
        left: 0px;
      }
    }
  }
}

/* 
    Dropdown menus
----------------------------
*/
/*Dropdowns in general*/

.dropdown-menu {
  -webkit-box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1);
  z-index: 2300;
  > li > a {
    > {
      .glyphicon, .fa, .ion {
        margin-right: 10px;
      }
    }
    &:hover {
      background-color: #3c8dbc;
      color: #f9f9f9;
    }
  }
}

/*Drodown in navbars*/

.skin-blue .navbar .dropdown-menu > li > a {
  color: #444444;
}

/*
    Navbar custom dropdown menu
------------------------------------
*/

.navbar-nav > {
  .notifications-menu > .dropdown-menu, .messages-menu > .dropdown-menu, .tasks-menu > .dropdown-menu {
    width: 280px;
    padding: 0 0 0 0 !important;
    margin: 0 !important;
    top: 100%;
    border: 1px solid #dfdfdf;
    -webkit-border-radius: 4px !important;
    -moz-border-radius: 4px !important;
    border-radius: 4px !important;
  }
  .notifications-menu > .dropdown-menu > li.header, .messages-menu > .dropdown-menu > li.header, .tasks-menu > .dropdown-menu > li.header {
    -webkit-border-top-left-radius: 4px;
    -webkit-border-top-right-radius: 4px;
    -webkit-border-bottom-right-radius: 0;
    -webkit-border-bottom-left-radius: 0;
    -moz-border-radius-topleft: 4px;
    -moz-border-radius-topright: 4px;
    -moz-border-radius-bottomright: 0;
    -moz-border-radius-bottomleft: 0;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    background-color: #ffffff;
    padding: 7px 10px;
    border-bottom: 1px solid #f4f4f4;
    color: #444444;
    font-size: 14px;
  }
  .notifications-menu > .dropdown-menu > li.header:after, .messages-menu > .dropdown-menu > li.header:after, .tasks-menu > .dropdown-menu > li.header:after {
    bottom: 100%;
    left: 92%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(255, 255, 255, 0);
    border-bottom-color: #ffffff;
    border-width: 7px;
    margin-left: -7px;
  }
  .notifications-menu > .dropdown-menu > li.footer > a, .messages-menu > .dropdown-menu > li.footer > a, .tasks-menu > .dropdown-menu > li.footer > a {
    -webkit-border-top-left-radius: 0px;
    -webkit-border-top-right-radius: 0px;
    -webkit-border-bottom-right-radius: 4px;
    -webkit-border-bottom-left-radius: 4px;
    -moz-border-radius-topleft: 0px;
    -moz-border-radius-topright: 0px;
    -moz-border-radius-bottomright: 4px;
    -moz-border-radius-bottomleft: 4px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
    font-size: 12px;
    background-color: #f4f4f4;
    padding: 7px 10px;
    border-bottom: 1px solid #eeeeee;
    color: #444444;
    text-align: center;
  }
  .notifications-menu > .dropdown-menu > li.footer > a:hover, .messages-menu > .dropdown-menu > li.footer > a:hover, .tasks-menu > .dropdown-menu > li.footer > a:hover {
    background: #f4f4f4;
    text-decoration: none;
    font-weight: normal;
  }
  .notifications-menu > .dropdown-menu > li .menu, .messages-menu > .dropdown-menu > li .menu, .tasks-menu > .dropdown-menu > li .menu {
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-x: hidden;
  }
  .notifications-menu > .dropdown-menu > li .menu > li > a, .messages-menu > .dropdown-menu > li .menu > li > a, .tasks-menu > .dropdown-menu > li .menu > li > a {
    display: block;
    white-space: nowrap;
    /* Prevent text from breaking */
    border-bottom: 1px solid #f4f4f4;
  }
  .notifications-menu > .dropdown-menu > li .menu > li > a:hover, .messages-menu > .dropdown-menu > li .menu > li > a:hover, .tasks-menu > .dropdown-menu > li .menu > li > a:hover {
    background: #f6f6f6;
    text-decoration: none;
  }
  .notifications-menu > .dropdown-menu > li .menu > li > a {
    font-size: 12px;
    color: #444444;
    > {
      .glyphicon, .fa, .ion {
        font-size: 20px;
        width: 50px;
        text-align: center;
        padding: 15px 0px;
        margin-right: 5px;
        /* Default background and font colors */
        background: #00c0ef;
        color: #f9f9f9;
        /* Fallback for browsers that doesn't support rgba */
        color: rgba(255, 255, 255, 0.7);
      }
      .glyphicon.danger, .fa.danger, .ion.danger {
        background: #f56954;
      }
      .glyphicon.warning, .fa.warning, .ion.warning {
        background: #f39c12;
      }
      .glyphicon.success, .fa.success, .ion.success {
        background: #00a65a;
      }
      .glyphicon.info, .fa.info, .ion.info {
        background: #00c0ef;
      }
    }
  }
  .messages-menu > .dropdown-menu > li .menu > li > a {
    margin: 0px;
    line-height: 20px;
    padding: 10px 5px 10px 5px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    > {
      div > img {
        margin: auto 10px auto auto;
        width: 40px;
        height: 40px;
        border: 1px solid #dddddd;
      }
      h4 {
        padding: 0;
        margin: 0 0 0 45px;
        color: #444444;
        font-size: 15px;
        > small {
          color: #999999;
          font-size: 10px;
          float: right;
        }
      }
      p {
        margin: 0 0 0 45px;
        font-size: 12px;
        color: #888888;
      }
    }
    &:before {
      display: table;
      content: " ";
    }
    &:after {
      display: table;
      content: " ";
      clear: both;
    }
  }
  .tasks-menu > .dropdown-menu > li .menu > li > a {
    padding: 10px;
    > {
      h3 {
        font-size: 14px;
        padding: 0;
        margin: 0 0 10px 0;
        color: #666666;
      }
      .progress {
        padding: 0;
        margin: 0;
      }
    }
  }
  .user-menu > .dropdown-menu {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    padding: 1px 0 0 0;
    border-top-width: 0;
    width: 280px;
    &:after {
      bottom: 100%;
      right: 10px;
      border: solid transparent;
      content: " ";
      height: 0;
      width: 0;
      position: absolute;
      pointer-events: none;
      border-color: rgba(255, 255, 255, 0);
      border-bottom-color: #ffffff;
      border-width: 10px;
      margin-left: -10px;
    }
    > li {
      &.user-header {
        height: 175px;
        padding: 10px;
        background: #3c8dbc;
        text-align: center;
        > {
          img {
            z-index: 5;
            height: 90px;
            width: 90px;
            border: 8px solid;
            border-color: transparent;
            border-color: rgba(255, 255, 255, 0.2);
          }
          p {
            z-index: 5;
            color: #f9f9f9;
            color: rgba(255, 255, 255, 0.8);
            font-size: 17px;
            text-shadow: 2px 2px 3px #333333;
            margin-top: 10px;
            > small {
              display: block;
              font-size: 12px;
            }
          }
        }
      }
      &.user-body {
        padding: 15px;
        border-bottom: 1px solid #f4f4f4;
        border-top: 1px solid #dddddd;
        &:before {
          display: table;
          content: " ";
        }
        &:after {
          display: table;
          content: " ";
          clear: both;
        }
        > div > a {
          color: #0073b7;
        }
      }
      &.user-footer {
        background-color: #f9f9f9;
        padding: 10px;
        &:before {
          display: table;
          content: " ";
        }
        &:after {
          display: table;
          content: " ";
          clear: both;
        }
        .btn-default {
          color: #666666;
        }
      }
    }
  }
}

/* Add fade animation to dropdown menus */

.open > .dropdown-menu {
  animation-name: fadeAnimation;
  animation-duration: .7s;
  animation-iteration-count: 1;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
  -webkit-animation-name: fadeAnimation;
  -webkit-animation-duration: .7s;
  -webkit-animation-iteration-count: 1;
  -webkit-animation-timing-function: ease;
  -webkit-animation-fill-mode: forwards;
  -moz-animation-name: fadeAnimation;
  -moz-animation-duration: .7s;
  -moz-animation-iteration-count: 1;
  -moz-animation-timing-function: ease;
  -moz-animation-fill-mode: forwards;
}

@keyframes fadeAnimation {
  from {
    opacity: 0;
    top: 120%;
  }
  to {
    opacity: 1;
    top: 100%;
  }
}

@-webkit-keyframes fadeAnimation {
  from {
    opacity: 0;
    top: 120%;
  }
  to {
    opacity: 1;
    top: 100%;
  }
}

/* Fix dropdown menu for small screens to display correctly on small screens */
@media screen and (max-width: 767px) {
  .navbar-nav > {
    .notifications-menu > .dropdown-menu, .user-menu > .dropdown-menu, .tasks-menu > .dropdown-menu, .messages-menu > .dropdown-menu {
      position: absolute;
      top: 100%;
      right: 0;
      left: auto;
      border-right: 1px solid #dddddd;
      border-bottom: 1px solid #dddddd;
      border-left: 1px solid #dddddd;
      background: #ffffff;
    }
  }
}

/* Fix menu positions on xs screens to appear correctly and fully */
@media screen and (max-width: 480px) {
  .navbar-nav > {
    .notifications-menu > .dropdown-menu > li.header, .tasks-menu > .dropdown-menu > li.header, .messages-menu > .dropdown-menu > li.header {
      /* Remove arrow from the top */
    }
    .notifications-menu > .dropdown-menu > li.header:after, .tasks-menu > .dropdown-menu > li.header:after, .messages-menu > .dropdown-menu > li.header:after {
      border-width: 0px !important;
    }
    .tasks-menu > .dropdown-menu {
      position: absolute;
      right: -120px;
      left: auto;
    }
    .notifications-menu > .dropdown-menu {
      position: absolute;
      right: -170px;
      left: auto;
    }
    .messages-menu > .dropdown-menu {
      position: absolute;
      right: -210px;
      left: auto;
    }
  }
}

/* 
   All form elements including input, select, textarea etc.
-----------------------------------------------------------------
*/

.form-control {
  -webkit-border-radius: 0px !important;
  -moz-border-radius: 0px !important;
  border-radius: 0px !important;
  box-shadow: none;
  &:focus {
    border-color: #3c8dbc !important;
    box-shadow: none;
  }
}

.form-group {
  &.has-success {
    label {
      color: #00a65a;
    }
    .form-control {
      border-color: #00a65a !important;
      box-shadow: none;
    }
  }
  &.has-warning {
    label {
      color: #f39c12;
    }
    .form-control {
      border-color: #f39c12 !important;
      box-shadow: none;
    }
  }
  &.has-error {
    label {
      color: #f56954;
    }
    .form-control {
      border-color: #f56954 !important;
      box-shadow: none;
    }
  }
}

/* Input group */

.input-group .input-group-addon {
  border-radius: 0;
  background-color: #f4f4f4;
}

/* button groups */

.btn-group-vertical .btn.btn-flat {
  &:first-of-type, &:last-of-type {
    border-radius: 0;
  }
}

/* Checkbox and radio inputs */

.checkbox, .radio {
  padding-left: 0;
}

/* 
    Compenent: Progress bars
--------------------------------
*/
/* size variation */

.progress {
  &.sm {
    height: 10px;
  }
  &.xs {
    height: 7px;
  }
  &.vertical {
    position: relative;
    width: 30px;
    height: 200px;
    display: inline-block;
    margin-right: 10px;
    > .progress-bar {
      width: 100% !important;
      position: absolute;
      bottom: 0;
    }
    &.sm {
      width: 20px;
    }
    &.xs {
      width: 10px;
    }
  }
}

/* Vertical bars */

/* Remove margins from progress bars when put in a table */

.table tr > td .progress {
  margin: 0;
}

.progress-bar-light-blue, .progress-bar-primary {
  background-color: #3c8dbc;
}

.progress-striped {
  .progress-bar-light-blue, .progress-bar-primary {
    background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
    background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  }
}

.progress-bar-green, .progress-bar-success {
  background-color: #00a65a;
}

.progress-striped {
  .progress-bar-green, .progress-bar-success {
    background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
    background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  }
}

.progress-bar-aqua, .progress-bar-info {
  background-color: #00c0ef;
}

.progress-striped {
  .progress-bar-aqua, .progress-bar-info {
    background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
    background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  }
}

.progress-bar-yellow, .progress-bar-warning {
  background-color: #f39c12;
}

.progress-striped {
  .progress-bar-yellow, .progress-bar-warning {
    background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
    background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  }
}

.progress-bar-red, .progress-bar-danger {
  background-color: #f56954;
}

.progress-striped {
  .progress-bar-red, .progress-bar-danger {
    background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
    background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  }
}

/*
    Component: Small boxes
*/

.small-box {
  position: relative;
  display: block;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  margin-bottom: 15px;
  > {
    .inner {
      padding: 10px;
    }
    .small-box-footer {
      position: relative;
      text-align: center;
      padding: 3px 0;
      color: #fff;
      color: rgba(255, 255, 255, 0.8);
      display: block;
      z-index: 10;
      background: rgba(0, 0, 0, 0.1);
      text-decoration: none;
      &:hover {
        color: #fff;
        background: rgba(0, 0, 0, 0.15);
      }
    }
  }
  h3 {
    font-size: 38px;
    font-weight: bold;
    margin: 0 0 10px 0;
    white-space: nowrap;
    padding: 0;
  }
  p {
    font-size: 15px;
    > small {
      display: block;
      color: #f9f9f9;
      font-size: 13px;
      margin-top: 5px;
    }
  }
  h3, p {
    z-index: 5px;
  }
  .icon {
    position: absolute;
    top: auto;
    bottom: 5px;
    right: 5px;
    z-index: 0;
    font-size: 90px;
    color: rgba(0, 0, 0, 0.15);
  }
  &:hover {
    text-decoration: none;
    color: #f9f9f9;
    .icon {
      animation-name: tansformAnimation;
      animation-duration: .5s;
      animation-iteration-count: 1;
      animation-timing-function: ease;
      animation-fill-mode: forwards;
      -webkit-animation-name: tansformAnimation;
      -webkit-animation-duration: .5s;
      -webkit-animation-iteration-count: 1;
      -webkit-animation-timing-function: ease;
      -webkit-animation-fill-mode: forwards;
      -moz-animation-name: tansformAnimation;
      -moz-animation-duration: .5s;
      -moz-animation-iteration-count: 1;
      -moz-animation-timing-function: ease;
      -moz-animation-fill-mode: forwards;
    }
  }
}

@keyframes tansformAnimation {
  from {
    font-size: 90px;
  }
  to {
    font-size: 100px;
  }
}

@-webkit-keyframes tansformAnimation {
  from {
    font-size: 90px;
  }
  to {
    font-size: 100px;
  }
}

@media screen and (max-width: 480px) {
  .small-box {
    text-align: center;
    .icon {
      display: none;
    }
    p {
      font-size: 12px;
    }
  }
}

/*
    component: Boxes
-------------------------
*/

.box {
  position: relative;
  background: #ffffff;
  border-top: 2px solid #c1c1c1;
  margin-bottom: 20px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  width: 100%;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
  &.box-primary {
    border-top-color: #3c8dbc;
  }
  &.box-info {
    border-top-color: #00c0ef;
  }
  &.box-danger {
    border-top-color: #f56954;
  }
  &.box-warning {
    border-top-color: #f39c12;
  }
  &.box-success {
    border-top-color: #00a65a;
  }
  &.height-control .box-body {
    max-height: 300px;
    overflow: auto;
  }
  .box-header {
    position: relative;
    -webkit-border-top-left-radius: 3px;
    -webkit-border-top-right-radius: 3px;
    -webkit-border-bottom-right-radius: 0;
    -webkit-border-bottom-left-radius: 0;
    -moz-border-radius-topleft: 3px;
    -moz-border-radius-topright: 3px;
    -moz-border-radius-bottomright: 0;
    -moz-border-radius-bottomleft: 0;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    border-bottom: 0px solid #f4f4f4;
    color: #444;
    padding-bottom: 10px;
    &:before {
      display: table;
      content: " ";
    }
    &:after {
      display: table;
      content: " ";
      clear: both;
    }
    > {
      .fa, .glyphicon, .ion {
        display: inline-block;
        padding: 10px 0px 10px 10px;
        margin: 0;
        font-size: 20px;
        font-weight: 400;
        float: left;
        cursor: default;
      }
    }
    .box-title {
      display: inline-block;
      padding: 10px 0px 10px 10px;
      margin: 0;
      font-size: 20px;
      font-weight: 400;
      float: left;
      cursor: default;
    }
    a {
      color: #444;
    }
    > .box-tools {
      padding: 5px 10px 5px 5px;
    }
  }
  .box-body {
    padding: 10px;
    -webkit-border-top-left-radius: 0;
    -webkit-border-top-right-radius: 0;
    -webkit-border-bottom-right-radius: 3px;
    -webkit-border-bottom-left-radius: 3px;
    -moz-border-radius-topleft: 0;
    -moz-border-radius-topright: 0;
    -moz-border-radius-bottomright: 3px;
    -moz-border-radius-bottomleft: 3px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    > {
      table, .table {
        margin-bottom: 0;
      }
    }
    &.chart-responsive {
      width: 100%;
      overflow: hidden;
    }
    > .chart {
      position: relative;
      overflow: hidden;
      width: 100%;
      svg, canvas {
        width: 100% !important;
      }
    }
    .fc {
      margin-top: 5px;
    }
    .fc-header-title h2 {
      font-size: 15px;
      line-height: 1.6em;
      color: #666;
      margin-left: 10px;
    }
    .fc-header-right {
      padding-right: 10px;
    }
    .fc-header-left {
      padding-left: 10px;
    }
    .fc-widget-header {
      background: #fafafa;
      box-shadow: inset 0px -3px 1px rgba(0, 0, 0, 0.02);
    }
    .fc-grid {
      width: 100%;
      border: 0;
    }
    .fc-widget-header:first-of-type, .fc-widget-content:first-of-type {
      border-left: 0;
      border-right: 0;
    }
    .fc-widget-header:last-of-type, .fc-widget-content:last-of-type {
      border-right: 0;
    }
    .table {
      margin-bottom: 0;
    }
    .full-width-chart {
      margin: -19px;
    }
    &.no-padding .full-width-chart {
      margin: -9px;
    }
  }
  .box-footer {
    border-top: 1px solid #f4f4f4;
    -webkit-border-top-left-radius: 0;
    -webkit-border-top-right-radius: 0;
    -webkit-border-bottom-right-radius: 3px;
    -webkit-border-bottom-left-radius: 3px;
    -moz-border-radius-topleft: 0;
    -moz-border-radius-topright: 0;
    -moz-border-radius-bottomright: 3px;
    -moz-border-radius-bottomleft: 3px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    padding: 10px;
    background-color: #ffffff;
  }
  &.box-solid {
    border-top: 0px;
    > .box-header {
      padding-bottom: 0px !important;
      .btn.btn-default {
        background: transparent;
      }
    }
    &.box-primary > .box-header {
      color: #fff;
      background: #3c8dbc;
      background-color: #3c8dbc;
      a {
        color: #444;
      }
    }
    &.box-info > .box-header {
      color: #fff;
      background: #00c0ef;
      background-color: #00c0ef;
      a {
        color: #444;
      }
    }
    &.box-danger > .box-header {
      color: #fff;
      background: #f56954;
      background-color: #f56954;
      a {
        color: #444;
      }
    }
    &.box-warning > .box-header {
      color: #fff;
      background: #f39c12;
      background-color: #f39c12;
      a {
        color: #444;
      }
    }
    &.box-success > .box-header {
      color: #fff;
      background: #00a65a;
      background-color: #00a65a;
      a {
        color: #444;
      }
    }
    > .box-header > .box-tools > .btn {
      border: 0;
      box-shadow: none;
    }
    &.collapsed-box .box-header {
      -webkit-border-radius: 3px;
      -moz-border-radius: 3px;
      border-radius: 3px;
    }
    &[class*='bg'] > .box-header {
      color: #fff;
    }
  }
  .box-group > .box {
    margin-bottom: 5px;
  }
  .knob-label {
    text-align: center;
    color: #333;
    font-weight: 100;
    font-size: 12px;
    margin-bottom: 0.3em;
  }
  .todo-list {
    margin: 0;
    padding: 0px 0px;
    list-style: none;
    > li {
      -webkit-border-radius: 2px;
      -moz-border-radius: 2px;
      border-radius: 2px;
      padding: 10px;
      background: #f3f4f5;
      margin-bottom: 2px;
      border-left: 2px solid #e6e7e8;
      color: #444;
      &:last-of-type {
        margin-bottom: 0;
      }
      &.danger {
        border-left-color: #f56954;
      }
      &.warning {
        border-left-color: #f39c12;
      }
      &.info {
        border-left-color: #00c0ef;
      }
      &.success {
        border-left-color: #00a65a;
      }
      &.primary {
        border-left-color: #3c8dbc;
      }
      > input[type='checkbox'] {
        margin: 0 10px 0 5px;
      }
      .text {
        display: inline-block;
        margin-left: 5px;
        font-weight: 600;
      }
      .label {
        margin-left: 10px;
        font-size: 9px;
      }
      .tools {
        display: none;
        float: right;
        color: #f56954;
        > {
          .fa, .glyphicon, .ion {
            margin-right: 5px;
            cursor: pointer;
          }
        }
      }
      &:hover .tools {
        display: inline-block;
      }
      &.done {
        color: #999;
        .text {
          text-decoration: line-through;
          font-weight: 500;
        }
        .label {
          background: #eaeaec !important;
        }
      }
    }
    .handle {
      display: inline-block;
      cursor: move;
      margin: 0 5px;
    }
  }
  .chat {
    padding: 5px 20px 5px 10px;
    .item {
      margin-bottom: 10px;
      &:before {
        display: table;
        content: " ";
      }
      &:after {
        display: table;
        content: " ";
        clear: both;
      }
      > {
        img {
          width: 40px;
          height: 40px;
          border: 2px solid transparent;
          -webkit-border-radius: 50% !important;
          -moz-border-radius: 50% !important;
          border-radius: 50% !important;
          &.online {
            border: 2px solid #00a65a;
          }
          &.offline {
            border: 2px solid #f56954;
          }
        }
        .message {
          margin-left: 55px;
          margin-top: -40px;
          > .name {
            display: block;
            font-weight: 600;
          }
        }
        .attachment {
          -webkit-border-radius: 3px;
          -moz-border-radius: 3px;
          border-radius: 3px;
          background: #f0f0f0;
          margin-left: 65px;
          margin-right: 15px;
          padding: 10px;
          > {
            h4 {
              margin: 0 0 5px 0;
              font-weight: 600;
              font-size: 14px;
            }
            p, .filename {
              font-weight: 600;
              font-size: 13px;
              font-style: italic;
              margin: 0;
            }
          }
          &:before {
            display: table;
            content: " ";
          }
          &:after {
            display: table;
            content: " ";
            clear: both;
          }
        }
      }
    }
  }
  > {
    .overlay, .loading-img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
    }
    .overlay {
      z-index: 1010;
      background: rgba(255, 255, 255, 0.7);
      &.dark {
        background: rgba(0, 0, 0, 0.5);
      }
    }
    .loading-img {
      z-index: 1020;
      background: transparent url('../img/../img/ajax-loader1.gif') 50% 50% no-repeat;
    }
  }
}

/*
Component: timeline
--------------------
*/

.timeline {
  margin: 0 0 30px 0;
  padding: 0;
  list-style: none;
  &:before {
    content: '';
    position: absolute;
    top: 0px;
    bottom: 0;
    width: 5px;
    background: #ddd;
    left: 45px;
    border: 1px solid #eee;
    margin: 0;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
  }
  > li {
    position: relative;
    margin-right: 10px;
    margin-bottom: 15px;
    &:before {
      display: table;
      content: " ";
    }
    &:after {
      display: table;
      content: " ";
      clear: both;
    }
    > .timeline-item {
      margin-top: 10px;
      border: 0px solid #dfdfdf;
      background: #fff;
      color: #555;
      margin-left: 60px;
      margin-right: 15px;
      padding: 5px;
      position: relative;
      box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
      > {
        .time {
          color: #999;
          float: right;
          margin: 2px 0 0 0;
        }
        .timeline-header {
          margin: 0;
          color: #555;
          border-bottom: 1px solid #f4f4f4;
          padding: 5px;
          font-size: 16px;
          line-height: 1.1;
          > a {
            font-weight: 600;
          }
        }
        .timeline-body, .timeline-footer {
          padding: 10px;
        }
      }
    }
    &.time-label > span {
      font-weight: 600;
      padding: 5px;
      display: inline-block;
      background-color: #fff;
      box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
      -webkit-border-radius: 4px;
      -moz-border-radius: 4px;
      border-radius: 4px;
    }
    > {
      .fa, .glyphicon, .ion {
        box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
        width: 30px;
        height: 30px;
        font-size: 15px;
        line-height: 30px;
        position: absolute;
        color: #666;
        background: #eee;
        border-radius: 50%;
        text-align: center;
        left: 18px;
        top: 0;
      }
    }
  }
}

/*
    Component: Buttons
-------------------------
*/

.btn {
  font-weight: 500;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  border: 1px solid transparent;
  -webkit-box-shadow: inset 0px -2px 0px 0px rgba(0, 0, 0, 0.09);
  -moz-box-shadow: inset 0px -2px 0px 0px rgba(0, 0, 0, 0.09);
  box-shadow: inset 0px -1px 0px 0px rgba(0, 0, 0, 0.09);
  &.btn-default {
    background-color: #fafafa;
    color: #666;
    border-color: #ddd;
    border-bottom-color: #ddd;
    &:hover, &:active, &.hover {
      background-color: #f4f4f4 !important;
    }
    &.btn-flat {
      border-bottom-color: #d9dadc;
    }
  }
  &.btn-primary {
    background-color: #3c8dbc;
    border-color: #367fa9;
    &:hover, &:active, &.hover {
      background-color: #367fa9;
    }
  }
  &.btn-success {
    background-color: #00a65a;
    border-color: #008d4c;
    &:hover, &:active, &.hover {
      background-color: #008d4c;
    }
  }
  &.btn-info {
    background-color: #00c0ef;
    border-color: #00acd6;
    &:hover, &:active, &.hover {
      background-color: #00acd6;
    }
  }
  &.btn-danger {
    background-color: #f56954;
    border-color: #f4543c;
    &:hover, &:active, &.hover {
      background-color: #f4543c;
    }
  }
  &.btn-warning {
    background-color: #f39c12;
    border-color: #e08e0b;
    &:hover, &:active, &.hover {
      background-color: #e08e0b;
    }
  }
  &.btn-sm {
    font-size: 12px;
  }
  &.btn-lg {
    padding: 10px 16px;
  }
  &.btn-block {
    font-size: 15px;
    padding: 10px;
    &.btn-sm {
      font-size: 13px;
      padding: 7px;
    }
  }
  &.btn-flat {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    border-width: 1px;
  }
  &:active {
    -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    -moz-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  }
  &:focus {
    outline: none;
  }
  &.btn-file {
    position: relative;
    width: 120px;
    height: 35px;
    overflow: hidden;
    > input[type='file'] {
      display: block !important;
      width: 100% !important;
      height: 35px !important;
      opacity: 0 !important;
      position: absolute;
      top: -10px;
      cursor: pointer;
    }
  }
  &.btn-app {
    position: relative;
    padding: 15px 5px;
    margin: 0 0 10px 10px;
    min-width: 80px;
    height: 60px;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    text-align: center;
    color: #666;
    border: 1px solid #ddd;
    background-color: #fafafa;
    font-size: 12px;
    > {
      .fa, .glyphicon, .ion {
        font-size: 20px;
        display: block;
      }
    }
    &:hover {
      background: #f4f4f4;
      color: #444;
      border-color: #aaa;
    }
    &:active, &:focus {
      -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
      -moz-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
      box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    }
    > .badge {
      position: absolute;
      top: -3px;
      right: -10px;
      font-size: 10px;
      font-weight: 400;
    }
  }
  &.btn-social {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    opacity: 0.9;
    padding: 0;
    > .fa {
      padding: 10px 0;
      width: 40px;
      + span {
        border-left: 1px solid rgba(255, 255, 255, 0.3);
      }
    }
    span {
      padding: 10px;
    }
    &:hover {
      opacity: 1;
    }
  }
  &.btn-circle {
    width: 30px;
    height: 30px;
    line-height: 30px;
    padding: 0;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
  }
}

/* 
    Component: callout
------------------------
*/

.callout {
  margin: 0 0 20px 0;
  padding: 15px 30px 15px 15px;
  border-left: 5px solid #eee;
  h4 {
    margin-top: 0;
  }
  p:last-child {
    margin-bottom: 0;
  }
  code, .highlight {
    background-color: #fff;
  }
  &.callout-danger {
    background-color: #fcf2f2;
    border-color: #dFb5b4;
  }
  &.callout-warning {
    background-color: #fefbed;
    border-color: #f1e7bc;
  }
  &.callout-info {
    background-color: #f0f7fd;
    border-color: #d0e3f0;
  }
  &.callout-danger h4 {
    color: #B94A48;
  }
  &.callout-warning h4 {
    color: #C09853;
  }
  &.callout-info h4 {
    color: #3A87AD;
  }
}

/* 
    Component: alert
------------------------
*/

.alert {
  padding-left: 30px;
  margin-left: 15px;
  position: relative;
  > {
    .fa, .glyphicon {
      position: absolute;
      left: -15px;
      top: -15px;
      width: 35px;
      height: 35px;
      -webkit-border-radius: 50%;
      -moz-border-radius: 50%;
      border-radius: 50%;
      line-height: 35px;
      text-align: center;
      background: inherit;
      border: inherit;
    }
  }
}

/*
    Component: Navs
*/
/* NAV PILLS */

.nav.nav-pills {
  > li {
    > a {
      border-top: 3px solid transparent;
      -webkit-border-radius: 0;
      -moz-border-radius: 0;
      border-radius: 0;
      color: #444;
      > {
        .fa, .glyphicon, .ion {
          margin-right: 5px;
        }
      }
    }
    &.active > a {
      background-color: #f6f6f6;
      border-top-color: #3c8dbc;
      color: #444;
      &:hover {
        background-color: #f6f6f6;
        border-top-color: #3c8dbc;
        color: #444;
      }
      font-weight: 600;
    }
    > a:hover {
      background-color: #f6f6f6;
    }
  }
  &.nav-stacked > li {
    > a {
      border-top: 0;
      border-left: 3px solid transparent;
      -webkit-border-radius: 0;
      -moz-border-radius: 0;
      border-radius: 0;
      color: #444;
    }
    &.active > a {
      background-color: #f6f6f6;
      border-left-color: #3c8dbc;
      color: #444;
      &:hover {
        background-color: #f6f6f6;
        border-left-color: #3c8dbc;
        color: #444;
      }
    }
    &.header {
      border-bottom: 1px solid #ddd;
      color: #777;
      margin-bottom: 10px;
      padding: 5px 10px;
      text-transform: uppercase;
    }
  }
}

/* NAV TABS */

.nav-tabs-custom {
  margin-bottom: 20px;
  background: #fff;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
  > {
    .nav-tabs {
      margin: 0;
      border-bottom-color: #f4f4f4;
      > li {
        border-top: 3px solid transparent;
        margin-bottom: -2px;
        margin-right: 5px;
        > a {
          -webkit-border-radius: 0 !important;
          -moz-border-radius: 0 !important;
          border-radius: 0 !important;
          background: transparent;
          margin: 0;
          &:hover {
            background: transparent;
            margin: 0;
          }
        }
        &:not(.active) > a {
          &:hover, &:focus, &:active {
            border-color: transparent;
          }
        }
        &.active {
          border-top-color: #3c8dbc;
          > a, &:hover > a {
            background-color: #fff;
          }
          > a {
            border-top: 0;
            border-left-color: #f4f4f4;
            border-right-color: #f4f4f4;
          }
        }
        &:first-of-type {
          margin-left: 0px;
          &.active > a {
            border-left-width: 0;
          }
        }
      }
      &.pull-right {
        float: none !important;
        > li {
          float: right;
          &:first-of-type {
            margin-right: 0px;
            &.active > a {
              border-left-width: 1px;
              border-right-width: 0px;
            }
          }
        }
      }
      > li.header {
        font-weight: 400;
        line-height: 35px;
        padding: 0 10px;
        font-size: 20px;
        color: #444;
        cursor: default;
        > {
          .fa, .glyphicon, .ion {
            margin-right: 10px;
          }
        }
      }
    }
    .tab-content {
      background: #fff;
      padding: 10px;
    }
  }
}

/* PAGINATION */

.pagination > li {
  > a {
    background: #fafafa;
    color: #666;
    -webkit-box-shadow: inset 0px -2px 0px 0px rgba(0, 0, 0, 0.09);
    -moz-box-shadow: inset 0px -2px 0px 0px rgba(0, 0, 0, 0.09);
    box-shadow: inset 0px -1px 0px 0px rgba(0, 0, 0, 0.09);
  }
  &:first-of-type a, &:last-of-type a {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
  }
}

/*
    Component: Mailbox
*/

.mailbox .table-mailbox {
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  tr {
    &.unread > td {
      background-color: rgba(0, 0, 0, 0.05);
      color: #000;
      font-weight: 600;
    }
    > td {
      > {
        .fa {
          &.fa-star, &.fa-star-o {
            color: #f39c12;
            cursor: pointer;
          }
        }
        .glyphicon {
          &.glyphicon-star, &.glyphicon-star-empty {
            color: #f39c12;
            cursor: pointer;
          }
        }
      }
      &.small-col {
        width: 30px;
      }
      &.name {
        width: 150px;
        font-weight: 600;
      }
      &.time {
        text-align: right;
        width: 100px;
      }
      white-space: nowrap;
      > a {
        color: #444;
      }
    }
  }
}

@media screen and (max-width: 767px) {
  .mailbox {
    .nav-stacked > li:not(.header) {
      float: left;
      width: 50%;
      &.header {
        border: 0 !important;
      }
    }
    .search-form {
      margin-top: 10px;
    }
  }
}

/*
    Page: locked screen
*/
/* ADD THIS CLASS TO THE <HTML> TAG */

.lockscreen {
  background: url(../img/blur-background09.jpg) repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  > body {
    background: transparent;
  }
  .headline {
    color: #fff;
    text-shadow: 1px 3px 5px rgba(0, 0, 0, 0.5);
    font-weight: 300;
    -webkit-font-smoothing: antialiased !important;
    opacity: 0.8;
    margin: 10px 0 30px 0;
    font-size: 90px;
  }
  .lockscreen-name {
    text-align: center;
    font-weight: 600;
    font-size: 16px;
  }
}

/* Remove the background from the body element */

/* We will put the dynamically generated digital clock here */

@media screen and (max-width: 480px) {
  .lockscreen .headline {
    font-size: 60px;
    margin-bottom: 40px;
  }
}

/* User name [optional] */

/* Will contain the image and the sign in form */

.lockscreen-item {
  padding: 0;
  background: #fff;
  position: relative;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  margin: 10px auto;
  width: 290px;
  &:before {
    display: table;
    content: " ";
  }
  &:after {
    display: table;
    content: " ";
    clear: both;
  }
  > {
    .lockscreen-image {
      position: absolute;
      left: -10px;
      top: -30px;
      background: #fff;
      padding: 10px;
      -webkit-border-radius: 50%;
      -moz-border-radius: 50%;
      border-radius: 50%;
      z-index: 10;
      > img {
        width: 70px;
        height: 70px;
        -webkit-border-radius: 50%;
        -moz-border-radius: 50%;
        border-radius: 50%;
      }
    }
    .lockscreen-credentials {
      margin-left: 80px;
      input {
        border: 0 !important;
      }
      .btn {
        background-color: #fff;
        border: 0;
      }
    }
  }
}

/* User image */

/* Contains the password input and the login button */

/* Extra to give the user an option to navigate the website [optional]*/

.lockscreen-link {
  margin-top: 30px;
  text-align: center;
}

/* 
    Page: register and login
*/

.form-box {
  width: 360px;
  margin: 90px auto 0 auto;
  .header {
    -webkit-border-top-left-radius: 4px;
    -webkit-border-top-right-radius: 4px;
    -webkit-border-bottom-right-radius: 0;
    -webkit-border-bottom-left-radius: 0;
    -moz-border-radius-topleft: 4px;
    -moz-border-radius-topright: 4px;
    -moz-border-radius-bottomright: 0;
    -moz-border-radius-bottomleft: 0;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    background: #3d9970;
    box-shadow: inset 0px -3px 0px rgba(0, 0, 0, 0.2);
    padding: 20px 10px;
    text-align: center;
    font-size: 26px;
    font-weight: 300;
    color: #fff;
  }
  .body, .footer {
    padding: 10px 20px;
    background: #fff;
    color: #444;
  }
  .body > .form-group, .footer > .form-group {
    margin-top: 20px;
  }
  .body > .form-group > input, .footer > .form-group > input {
    border: #fff;
  }
  .body > .btn {
    margin-bottom: 10px;
  }
  .footer {
    > .btn {
      margin-bottom: 10px;
    }
    -webkit-border-top-left-radius: 0;
    -webkit-border-top-right-radius: 0;
    -webkit-border-bottom-right-radius: 4px;
    -webkit-border-bottom-left-radius: 4px;
    -moz-border-radius-topleft: 0;
    -moz-border-radius-topright: 0;
    -moz-border-radius-bottomright: 4px;
    -moz-border-radius-bottomleft: 4px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
  }
}

@media (max-width: 767px) {
  .form-box {
    width: 90%;
  }
}

/* 
    Page: 404 and 500 error pages
------------------------------------
*/

.error-page {
  width: 600px;
  margin: 20px auto;
  > {
    .headline {
      float: left;
      font-size: 100px;
      font-weight: 300;
    }
    .error-content {
      margin-left: 190px;
      display: block;
      > h3 {
        font-weight: 300;
        font-size: 25px;
      }
    }
  }
  &:before {
    display: table;
    content: " ";
  }
  &:after {
    display: table;
    content: " ";
    clear: both;
  }
}

@media screen and (max-width: 767px) {
  .error-page {
    width: 100%;
  }
}

@media screen and (max-width: 767px) {
  .error-page > .headline {
    float: none;
    text-align: center;
  }
}

@media screen and (max-width: 767px) {
  .error-page > .error-content {
    margin-left: 0;
  }
}

@media screen and (max-width: 767px) {
  .error-page > .error-content > h3 {
    text-align: center;
  }
}

/* 
    Page: Invoice
*/

.invoice {
  position: relative;
  width: 90%;
  margin: 10px auto;
  background: #fff;
  border: 1px solid #f4f4f4;
}

.invoice-title {
  margin-top: 0;
}

/* Enhancement for printing */
@media print {
  .invoice {
    width: 100%;
    border: 0;
    margin: 0;
    padding: 0;
  }
  .invoice-col {
    float: left;
    width: 33.3333333%;
  }
  .table-responsive {
    overflow: auto;
    > .table tr {
      th, td {
        white-space: normal !important;
      }
    }
  }
}

/* 
    Skins
    -----
*/
/* 
    Skin Blue 
    ---------
*/
/* skin-blue navbar */

.skin-blue {
  .navbar {
    background-color: #3c8dbc;
    .nav {
      a {
        color: rgba(255, 255, 255, 0.8);
      }
      > li > a {
        &:hover, &:active, &:focus {
          background: rgba(0, 0, 0, 0.1);
          color: #f6f6f6;
        }
      }
      .open > a {
        background: rgba(0, 0, 0, 0.1);
        color: #f6f6f6;
        &:hover, &:focus {
          background: rgba(0, 0, 0, 0.1);
          color: #f6f6f6;
        }
      }
    }
    .navbar-right > .nav {
      margin-right: 10px;
    }
    .sidebar-toggle {
      .icon-bar {
        background: rgba(255, 255, 255, 0.8);
      }
      &:hover .icon-bar {
        background: #f6f6f6 !important;
      }
    }
  }
  .logo {

  }
  .right-side > .content-header {
    background: #fbfbfb;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
  }
  .user-panel > {
    .image > img {
      border: 1px solid #dfdfdf;
    }
    .info {
      color: #555555;
      > a {
        color: #555555;
      }
    }
  }
  .sidebar {
    border-bottom: 1px solid #fff;
    > .sidebar-menu > li {
      border-top: 1px solid #fff;
      border-bottom: 1px solid #dbdbdb;
      &:first-of-type {
        border-top: 1px solid #dbdbdb;
        > a {
          border-top: 1px solid #fff;
        }
      }
      > a {
        margin-right: 1px;
        &:hover {
          color: #222;
          background: #f9f9f9;
        }
      }
      &.active > a {
        color: #222;
        background: #f9f9f9;
      }
      > .treeview-menu {
        margin: 0 1px;
        background: #f9f9f9;
      }
    }
  }
  .left-side {
    background: #f4f4f4;
    -webkit-box-shadow: inset -3px 0px 8px -4px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: inset -3px 0px 8px -4px rgba(0, 0, 0, 0.1);
    box-shadow: inset -3px 0px 8px -4px rgba(0, 0, 0, 0.07);
  }
  .sidebar a {
    color: #555555;
    &:hover {
      text-decoration: none;
    }
  }
  .treeview-menu > li {
    > a {
      color: #777;
    }
    &.active > a, > a:hover {
      color: #111;
    }
  }
  .sidebar-form {
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    border: 1px solid #dbdbdb;
    margin: 10px 10px;
    input[type="text"], .btn {
      box-shadow: none;
      background-color: #fafafa;
      border: 1px solid #fafafa;
      height: 35px;
    }
    input[type="text"] {
      color: #666;
      -webkit-border-top-left-radius: 2px !important;
      -webkit-border-top-right-radius: 0 !important;
      -webkit-border-bottom-right-radius: 0 !important;
      -webkit-border-bottom-left-radius: 2px !important;
      -moz-border-radius-topleft: 2px !important;
      -moz-border-radius-topright: 0 !important;
      -moz-border-radius-bottomright: 0 !important;
      -moz-border-radius-bottomleft: 2px !important;
      border-top-left-radius: 2px !important;
      border-top-right-radius: 0 !important;
      border-bottom-right-radius: 0 !important;
      border-bottom-left-radius: 2px !important;
      &:focus {
        background-color: #fff;
        color: #666;
        + .input-group-btn .btn {
          background-color: #fff;
          color: #666;
          border-left-color: #fff;
        }
      }
    }
    .btn {
      color: #999;
      -webkit-border-top-left-radius: 0 !important;
      -webkit-border-top-right-radius: 2px !important;
      -webkit-border-bottom-right-radius: 2px !important;
      -webkit-border-bottom-left-radius: 0 !important;
      -moz-border-radius-topleft: 0 !important;
      -moz-border-radius-topright: 2px !important;
      -moz-border-radius-bottomright: 2px !important;
      -moz-border-radius-bottomleft: 0 !important;
      border-top-left-radius: 0 !important;
      border-top-right-radius: 2px !important;
      border-bottom-right-radius: 2px !important;
      border-bottom-left-radius: 0 !important;
    }
  }
}

/* skin-blue logo */

/* skin-blue content header */

/* Skin-blue user panel */

/* skin-blue sidebar */

/*
    Skin Black
    --------
*/
/* skin-black navbar */

.skin-black {
  .navbar {
    background-color: #ffffff;
    border-bottom: 1px solid #eee;
    .nav {
      a {
        color: #333333;
      }
      > li > a {
        &:hover, &:active, &:focus {
          background: #ffffff;
          color: #999999;
        }
      }
      .open > a {
        background: #ffffff;
        color: #999999;
        &:hover, &:focus {
          background: #ffffff;
          color: #999999;
        }
      }
    }
    .navbar-right > .nav {
      margin-right: 10px;
    }
    .sidebar-toggle {
      .icon-bar {
        background: #333333;
      }
      &:hover .icon-bar {
        background: #999999 !important;
      }
    }
  }

  .right-side > .content-header {
    background: transparent;
    box-shadow: none;
  }
  .user-panel > {
    .image > img {
      border: 1px solid #444;
    }
    .info {
      color: #eee;
      > a {
        color: #eee;
      }
    }
  }
  .sidebar {
    border-bottom: 1px solid #333;
    > .sidebar-menu > li {
      border-top: 1px solid #333;
      border-bottom: 0px solid #444;
      &:first-of-type {
        border-top: 1px solid #444;
        > a {
          border-top: 0px solid #333;
        }
      }
      > a {
        margin-right: 1px;
        &:hover {
          color: #f6f6f6;
          background: #444;
        }
      }
      &.active > a {
        color: #f6f6f6;
        background: #444;
      }
      > .treeview-menu {
        margin: 0 1px;
        background: #444;
      }
    }
  }
  .left-side {
    background: #333;
  }
  .sidebar a {
    color: #eee;
    &:hover {
      text-decoration: none;
    }
  }
  .treeview-menu > li {
    > a {
      color: #ccc;
    }
    &.active > a, > a:hover {
      color: #fff;
    }
  }
  .sidebar-form {
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    border: 0px solid #555;
    margin: 10px 10px;
    input[type="text"], .btn {
      box-shadow: none;
      background-color: rgba(255, 255, 255, 0.1);
      border: 0 solid rgba(255, 255, 255, 0.1);
      height: 35px;
      outline: none;
    }
    input[type="text"] {
      color: #aaa;
      -webkit-border-top-left-radius: 2px !important;
      -webkit-border-top-right-radius: 0 !important;
      -webkit-border-bottom-right-radius: 0 !important;
      -webkit-border-bottom-left-radius: 2px !important;
      -moz-border-radius-topleft: 2px !important;
      -moz-border-radius-topright: 0 !important;
      -moz-border-radius-bottomright: 0 !important;
      -moz-border-radius-bottomleft: 2px !important;
      border-top-left-radius: 2px !important;
      border-top-right-radius: 0 !important;
      border-bottom-right-radius: 0 !important;
      border-bottom-left-radius: 2px !important;
      &:focus {
        background-color: #444;
        border: 0;
        + .input-group-btn .btn {
          background-color: #444;
          border: 0;
          border-left: 0;
        }
      }
    }
    .btn {
      color: #999;
      -webkit-border-top-left-radius: 0 !important;
      -webkit-border-top-right-radius: 2px !important;
      -webkit-border-bottom-right-radius: 2px !important;
      -webkit-border-bottom-left-radius: 0 !important;
      -moz-border-radius-topleft: 0 !important;
      -moz-border-radius-topright: 2px !important;
      -moz-border-radius-bottomright: 2px !important;
      -moz-border-radius-bottomleft: 0 !important;
      border-top-left-radius: 0 !important;
      border-top-right-radius: 2px !important;
      border-bottom-right-radius: 2px !important;
      border-bottom-left-radius: 0 !important;
      border-left: 0;
    }
  }
}

/* skin-black logo */

/* skin-black content header */

/* Skin-red user panel */

/* skin-black sidebar */

/*!
 * iCheck v1.0.1, http://git.io/arlzeA
 * =================================
 * Powerful jQuery and Zepto plugin for checkboxes and radio buttons customization
 *
 * (c) 2013 Damir Sultanov, http://fronteed.com
 * MIT Licensed
 */
/* iCheck plugin Minimal skin, black
----------------------------------- */

.icheckbox_minimal, .iradio_minimal {
  display: inline-block;
  *display: inline;
  vertical-align: middle;
  margin: 0;
  padding: 0;
  width: 18px;
  height: 18px;
  background: rgba(255, 255, 255, 0.7) url(iCheck/minimal/minimal.png) no-repeat;
  border: none;
  cursor: pointer;
}

.icheckbox_minimal {
  background-position: 0 0;
  &.hover {
    background-position: -20px 0;
  }
  &.checked {
    background-position: -40px 0;
  }
  &.disabled {
    background-position: -60px 0;
    cursor: default;
  }
  &.checked.disabled {
    background-position: -80px 0;
  }
}

.iradio_minimal {
  background-position: -100px 0;
  &.hover {
    background-position: -120px 0;
  }
  &.checked {
    background-position: -140px 0;
  }
  &.disabled {
    background-position: -160px 0;
    cursor: default;
  }
  &.checked.disabled {
    background-position: -180px 0;
  }
}

/* Retina support */
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (-moz-min-device-pixel-ratio: 1.5), only screen and (-o-min-device-pixel-ratio: 3 / 2), only screen and (min-device-pixel-ratio: 1.5) {
  .icheckbox_minimal, .iradio_minimal {
    background-image: url('../img/iCheck/minimal/minimal@2x.png');
    -webkit-background-size: 200px 20px;
    background-size: 200px 20px;
  }
}

.pace .pace-progress {
  background: #00c0ef;
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  height: 2px;
  -webkit-transition: width 1s;
  -moz-transition: width 1s;
  -o-transition: width 1s;
  transition: width 1s;
}

.pace-inactive {
  display: none;
}

.form_control_filter {
  .group {
    > div {
      width: 25%;
      margin-bottom: 15px;
      display: inline-block;
      label {
        width: 50%;
        text-align: right;
        padding-right: 10px;
      }
      > div {
        width: 50%;
        .form-control {
          width: 100%;
        }
      }
    }
  }
}

.spinner {
  width: 30px;
  height: 30px;
  background-color: #333;

  margin: 100px auto;
  -webkit-animation: rotateplane 1.2s infinite ease-in-out;
  animation: rotateplane 1.2s infinite ease-in-out;
}

@-webkit-keyframes rotateplane {
  0% {
    -webkit-transform: perspective(120px)
  }
  50% {
    -webkit-transform: perspective(120px) rotateY(180deg)
  }
  100% {
    -webkit-transform: perspective(120px) rotateY(180deg) rotateX(180deg)
  }
}

@keyframes rotateplane {
  0% {
    transform: perspective(120px) rotateX(0deg) rotateY(0deg);
    -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg)
  }
  50% {
    transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
    -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg)
  }
  100% {
    transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
  }
}

.process {
  position: relative;
  .appened {
    height: 400px;
    overflow-y: scroll;
  }
  .spinner {
    position: absolute;
    top: 50%;
    margin: 0;
    left: 50%;
  }
}

.redactor_box {
  position: relative;
  border: 1px solid #ddd;
  overflow: visible;
  background-color: #fff;
  textarea {
    background-color: #fff;
  }
}

body {
  .redactor_air {
    position: absolute;
    border: 1px solid #ddd;
    border-bottom: none;
    z-index: 2;
  }
  .redactor_box_fullscreen {
    left: 0;
    position: fixed;
    overflow: hidden;
    top: 0;
    width: 100%;
    z-index: 2000;
  }
}

/*
	Fullscreen
*/

.redactor_box textarea {
  font-family: Menlo, Monaco, monospace, sans-serif;
  font-size: 13px;
  overflow: auto;
  resize: none;
  margin: 0;
  padding: 0;
  display: block;
  position: relative;
  z-index: 1004;
  outline: none;
  border: none;
  width: 100%;
}

.redactor_editor {
  font-family: Arial, Helvetica, Verdana, Tahoma, sans-serif !important;
  &:focus, div, p, ul, ol, table, dl, blockquote, pre, h1, h2, h3, h4, h5 {
    font-family: Arial, Helvetica, Verdana, Tahoma, sans-serif !important;
  }
  code, pre {
    font-family: Menlo, Monaco, monospace, sans-serif !important;
  }
  font-size: 15px !important;
  line-height: 1.45em !important;
  &:focus, div, p, ul, ol, table, dl, blockquote, pre {
    font-size: 15px !important;
    line-height: 1.45em !important;
  }
  position: relative;
  outline: none;
  box-shadow: none !important;
  padding: 15px !important;
  margin: 0 !important;
  background: none;
  background: #fff !important;
  overflow: auto;
  white-space: normal;
  &:focus {
    position: relative;
    outline: none;
    box-shadow: none !important;
    padding: 15px !important;
    margin: 0 !important;
    background: none;
    background: #fff !important;
    overflow: auto;
    white-space: normal;
  }
  a {
    color: #15c !important;
    text-decoration: underline !important;
  }
  object, embed, video, img {
    width: auto;
    max-width: 100%;
  }
  video, img {
    height: auto;
  }
  div, p, ul, ol, table, dl, blockquote, pre {
    box-shadow: none !important;
    background: none !important;
    margin: 0 !important;
    margin-bottom: 15px !important;
    border: none;
  }
  iframe, object, hr {
    margin-bottom: 15px !important;
  }
  blockquote {
    margin-left: 3em !important;
    font-style: italic !important;
    color: #777;
  }
  ul, ol {
    padding-left: 2em !important;
  }
  ul ul, ol ol, ul ol, ol ul {
    border: none;
    margin: 2px !important;
    padding: 0 !important;
    padding-left: 2em !important;
  }
  dl dt {
    font-weight: bold;
  }
  dd {
    margin-left: 1em;
  }
  table {
    border-collapse: collapse;
    font-size: 1em !important;
    td {
      border: 1px solid #ddd;
      padding: 5px !important;
      vertical-align: top;
    }
    thead td {
      border-bottom: 2px solid #000 !important;
      font-weight: bold !important;
    }
  }
  code {
    background-color: #d8d7d7 !important;
  }
  pre {
    font-size: 90% !important;
    background: #f8f8f8 !important;
    border: 1px solid #ddd !important;
    border-radius: 3px !important;
    padding: 1em !important;
    white-space: pre;
    overflow: auto;
  }
  hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
  }
  h1, h2, h3, h4, h5 {
    color: #000;
    background: none;
    margin: 0 !important;
    padding: 0 !important;
    font-weight: bold;
  }
  h1 {
    font-size: 36px !important;
    line-height: 40px !important;
    margin-bottom: 10px !important;
  }
  h2 {
    font-size: 30px !important;
    line-height: 38px !important;
    margin-bottom: 15px !important;
  }
  h3 {
    font-size: 24px !important;
    line-height: 30px !important;
    margin-bottom: 10px !important;
  }
  h4 {
    font-size: 18px !important;
    line-height: 24px !important;
    margin-bottom: 10px !important;
  }
  h5 {
    font-size: 1em !important;
    margin-bottom: 10px !important;
  }
  &.redactor_editor_wym {
    background: #f6f6f6 !important;
    padding: 5px 15px !important;
  }
}

.redactor_editor_wym {
  div, p, ul, ol, table, dl, pre, h1, h2, h3, h4, h5, blockquote {
    background-color: #fff !important;
    border: 1px solid #e4e4e4 !important;
    padding: 10px !important;
    margin: 10px 0 !important;
  }
  ul, ol {
    padding-left: 2em !important;
  }
}

/*
	TOOLBAR
*/

.redactor_toolbar {
  font-family: Helvetica, Arial, Verdana, Tahoma, sans-serif !important;
  position: relative;
  left: 0;
  top: 0;
  margin: 0 !important;
  padding: 0 !important;
  padding-left: 2px !important;
  line-height: 0 !important;
  list-style: none !important;
  font-size: 0;
  background: #f1f1f1;
  background: -moz-linear-gradient(top, #f1f1f1 0%, #e2e2e2 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f1f1f1), color-stop(100%, #e2e2e2));
  background: -webkit-linear-gradient(top, #f1f1f1 0%, #e2e2e2 100%);
  background: -o-linear-gradient(top, #f1f1f1 0%, #e2e2e2 100%);
  background: -ms-linear-gradient(top, #f1f1f1 0%, #e2e2e2 100%);
  background: linear-gradient(to bottom, #f1f1f1 0%, #e2e2e2 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f1f1f1', endColorstr='#e2e2e2',GradientType=0 );
  overflow: hidden !important;
  height: 32px !important;
  border-bottom: 1px solid #bbb;
}

body .redactor_air .redactor_toolbar {
  padding-right: 2px !important;
}

.redactor_toolbar li {
  float: left !important;
  margin: 0 !important;
  padding: 3px 1px;
  padding-right: 0;
  list-style: none !important;
  outline: none;
  &.redactor_separator {
    float: left;
    height: 34px;
    border-left: 1px solid #d3d3d3;
    border-right: 1px solid #f1f1f1;
    padding: 0;
    margin: 0 2px 0 3px !important;
  }
  a {
    width: 25px;
    height: 25px;
    border: 1px solid transparent;
    * border: 1px solid #eee;
    display: block;
    line-height: 0;
    font-size: 0;
    cursor: pointer;
    zoom: 1;
    outline: none;
    text-decoration: none;
  }
  &.redactor_btn_right {
    float: none;
    float: right !important;
  }
  a {
    display: block;
    text-indent: -9999px;
    background-image: url();
    background-repeat: no-repeat;
    background-position: 0;
    &:hover {
      border-color: #98a6ba;
      background-color: #dde4ef;
      outline: none;
    }
    &:active, &.redactor_act {
      border-color: #b5b5b5;
      background-color: #ddd;
      outline: none;
    }
  }
}

@media all and (-webkit-min-device-pixel-ratio: 1.5) {
  .redactor_toolbar li a {
    background-image: url();
    background-size: auto 25px;
  }
}

/*
	BUTTONS
	step 25px
*/

body .redactor_toolbar li a {
  &.redactor_btn_html {
    background-position: 0px;
  }
  &.redactor_btn_formatting {
    background-position: -25px;
  }
  &.redactor_btn_bold {
    background-position: -50px;
  }
  &.redactor_btn_italic {
    background-position: -75px;
  }
  &.redactor_btn_deleted {
    background-position: -500px;
  }
  &.redactor_btn_unorderedlist {
    background-position: -100px;
  }
  &.redactor_btn_orderedlist {
    background-position: -125px;
  }
  &.redactor_btn_outdent {
    background-position: -150px;
  }
  &.redactor_btn_indent {
    background-position: -175px;
  }
  &.redactor_btn_image {
    background-position: -200px;
  }
  &.redactor_btn_video {
    background-position: -225px;
  }
  &.redactor_btn_file {
    background-position: -250px;
  }
  &.redactor_btn_table {
    background-position: -275px;
  }
  &.redactor_btn_link {
    background-position: -300px;
  }
  &.redactor_btn_fontcolor {
    background-position: -325px;
  }
  &.redactor_btn_backcolor {
    background-position: -350px;
  }
  &.redactor_btn_alignleft {
    background-position: -375px;
  }
  &.redactor_btn_aligncenter {
    background-position: -400px;
  }
  &.redactor_btn_alignright {
    background-position: -425px;
  }
  &.redactor_btn_justify {
    background-position: -450px;
  }
  &.redactor_btn_horizontalrule {
    background-position: -475px;
  }
  &.redactor_btn_underline {
    background-position: -525px;
  }
  &.redactor_btn_fullscreen {
    background-position: -550px;
  }
  &.redactor_btn_normalscreen {
    background-position: -575px;
  }
  &.redactor_btn_clips {
    background-position: -600px;
  }
  &.redactor_btn_alignment {
    background-position: -625px;
  }
}

/*
	Toolbar classes
*/

.redactor_format_blockquote {
  font-style: italic;
  color: #666 !important;
  padding-left: 10px;
}

.redactor_format_pre {
  font-family: monospace, sans-serif;
}

.redactor_format_h1, .redactor_format_h2, .redactor_format_h3, .redactor_format_h4 {
  font-weight: bold;
}

.redactor_format_h1 {
  font-size: 30px;
  line-height: 36px;
}

.redactor_format_h2 {
  font-size: 24px;
  line-height: 36px;
}

.redactor_format_h3 {
  font-size: 20px;
  line-height: 30px;
}

.redactor_format_h4 {
  font-size: 16px;
  line-height: 26px;
}

/*
	DROPDOWN
*/

.redactor_dropdown {
  font-family: Helvetica, Arial, Verdana, Tahoma, sans-serif;
  top: 28px;
  left: 0;
  z-index: 2004;
  position: absolute;
  width: 200px;
  background-color: #fff;
  border: 1px solid #ccc;
  font-size: 13px;
  -webkit-box-shadow: 0 2px 4px #ccc;
  -moz-box-shadow: 0 2px 4px #ccc;
  box-shadow: 0 2px 4px #ccc;
  line-height: 21px;
  padding: 10px;
}

.redactor_separator_drop {
  border-top: 1px solid #ddd;
  padding: 0 !important;
  line-height: 0;
  font-size: 0;
}

.redactor_dropdown a {
  display: block;
  color: #000;
  padding: 3px 5px;
  text-decoration: none;
  &:hover {
    color: #444 !important;
    text-decoration: none;
    background-color: #dde4ef;
  }
}

/* ColorPicker */

.redactor_color_link {
  padding: 0 !important;
  width: 15px !important;
  height: 15px !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) inset !important;
  border-radius: 4px !important;
  float: left !important;
  border: 2px solid #fff !important;
  font-size: 0;
}

.redactor_color_none {
  font-size: 11px;
}

/* MODAL */

#redactor_modal_overlay {
  position: fixed;
  margin: auto;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 50000;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  filter: alpha(opacity = 50);
  opacity: 0.50;
  background-color: #333 !important;
}

#redactor_modal {
  background: #f7f7f7;
  background: -moz-linear-gradient(top, #f7f7f7 0%, #e2e2e2 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f7f7f7), color-stop(100%, #e2e2e2));
  background: -webkit-linear-gradient(top, #f7f7f7 0%, #e2e2e2 100%);
  background: -o-linear-gradient(top, #f7f7f7 0%, #e2e2e2 100%);
  background: -ms-linear-gradient(top, #f7f7f7 0%, #e2e2e2 100%);
  background: linear-gradient(to bottom, #f7f7f7 0%, #e2e2e2 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f7f7f7', endColorstr='#e2e2e2',GradientType=0 );
  text-shadow: 0 1px 0 #fff;
  padding: 0;
  position: fixed;
  top: 50%;
  left: 50%;
  box-shadow: 0px 5px 60px #000;
  border-radius: 3px;
  z-index: 50001;
  font-family: Helvetica, Arial, Verdana, Tahoma, sans-serif;
  font-size: 12px !important;
  color: #000;
}

#redactor_modal_header {
  padding: 11px 30px 0 15px;
  font-size: 12px;
  border-radius: 3px 3px 0 0;
  font-weight: bold;
}

#redactor_modal_content {
  padding: 20px 30px;
}

#redactor_modal_close {
  position: absolute;
  right: 5px;
  top: 5px;
  font-size: 20px;
  width: 20px;
  height: 20px;
  color: #777;
  cursor: pointer;
  &:hover {
    color: #000;
  }
}

#redactor_modal {
  label {
    margin: 10px 0 3px 0 !important;
    padding: 0 !important;
    float: none !important;
    display: block !important;
  }
  textarea {
    margin-top: 4px;
    display: block;
  }
}

.redactor_input {
  width: 99%;
  font-size: 14px;
}

.redactor_modal_box {
  height: 350px;
  overflow: auto;
  margin-bottom: 10px;
}

#redactor_image_box {
  height: 270px;
  overflow: auto;
  margin-bottom: 10px;
}

#redactor_image_box_select {
  display: block;
  width: 200px;
  margin-bottom: 15px;
}

#redactor_image_box img {
  margin-right: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  max-width: 100px;
}

#redactor_tabs {
  margin-bottom: 18px;
  a {
    display: inline-block;
    border: 1px solid #d2d2d2;
    padding: 4px 14px;
    font-size: 12px;
    background-color: #fff;
    text-decoration: none;
    color: #000;
    line-height: 1;
    border-radius: 10px;
    margin-right: 5px;
    &:hover, &.redactor_tabs_act {
      background-color: #ddd;
      padding: 5px 15px;
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4) inset;
      border: none;
      text-shadow: 0 1px 0 #eee;
      color: #777 !important;
      text-decoration: none !important;
    }
  }
}

#redactor_modal_footer {
  padding: 9px 30px 20px 30px;
  border-radius: 0 0 3px 3px;
  text-align: right;
}

#redactor_modal {
  input {
    &[type="radio"], &[type="checkbox"] {
      position: relative;
      top: -1px;
    }
    &[type="text"], &[type="password"], &[type="email"] {
      position: relative;
      z-index: 2;
      font-family: Helvetica, Arial, Tahoma, sans-serif;
      height: 23px;
      border: 1px solid #ccc;
      margin: 0;
      padding: 1px 2px;
      background-color: white;
      color: #333;
      font-size: 13px;
      line-height: 1;
      border-radius: 1px;
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) inset;
      -webkit-transition: border 0.3s ease-in;
      -moz-transition: border 0.3s ease-in;
      -ms-transition: border 0.3s ease-in;
      -o-transition: border 0.3s ease-in;
      transition: border 0.3s ease-in;
    }
  }
  textarea {
    position: relative;
    z-index: 2;
    font-family: Helvetica, Arial, Tahoma, sans-serif;
    height: 23px;
    border: 1px solid #ccc;
    margin: 0;
    padding: 1px 2px;
    background-color: white;
    color: #333;
    font-size: 13px;
    line-height: 1;
    border-radius: 1px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) inset;
    -webkit-transition: border 0.3s ease-in;
    -moz-transition: border 0.3s ease-in;
    -ms-transition: border 0.3s ease-in;
    -o-transition: border 0.3s ease-in;
    transition: border 0.3s ease-in;
    line-height: 1.4em;
  }
  input:focus, textarea:focus {
    outline: none;
    border-color: #5ca9e4;
    box-shadow: 0 0 0 2px rgba(70, 161, 231, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2) inset;
  }
}

.redactor_modal_btn {
  margin-left: 8px;
  position: relative;
  cursor: pointer;
  outline: none;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  font-family: Helvetica, Arial, Verdana, Tahoma, sans-serif;
  line-height: 1;
  font-size: 12px;
  font-weight: normal;
  padding: 6px 16px 5px 16px;
  border-radius: 4px;
  background-color: #f3f3f3;
  background-image: -moz-linear-gradient(top, white, #e1e1e1);
  background-image: -ms-linear-gradient(top, white, #e1e1e1);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(white), to(#e1e1e1));
  background-image: -webkit-linear-gradient(top, white, #e1e1e1);
  background-image: -o-linear-gradient(top, white, #e1e1e1);
  background-image: linear-gradient(top, white, #e1e1e1);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e1e1e1', GradientType=0);
  border: 1px solid #ccc;
  border-bottom-color: #aaa;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  text-shadow: 0 1px 0px #ffffff;
  color: #000;
  &:hover {
    color: #555;
    filter: none;
    background: none;
    background: #f3f3f3;
    text-shadow: 0 1px 0px rgba(255, 255, 255, 0.8);
    text-decoration: none;
  }
}

/* Drag and Drop Area */

.redactor_droparea {
  position: relative;
  width: 100%;
  margin: auto;
  margin-bottom: 5px;
  .redactor_dropareabox {
    z-index: 1;
    position: relative;
    text-align: center;
    width: 99%;
    background-color: #fff;
    padding: 60px 0;
    border: 2px dashed #bbb;
    color: #555;
    font-size: 12px;
  }
}

.redactor_dropalternative {
  color: #555;
  font-size: 12px;
  margin: 4px 0 2px 0;
}

.redactor_dropareabox {
  &.hover {
    background: #efe3b8;
    border-color: #aaa;
  }
  &.error {
    background: #f7e5e5;
    border-color: #dcc3c3;
  }
  &.drop {
    background: #f4f4ee;
    border-color: #e0e5d6;
  }
}

